package fuxi;

public class Circle {
    public static double p = 3.1415926;

    public double area(double r) {
        return p * r* r;
    }

    public static void main(String[] args) {
        Circle circle = new Circle();
        double area = circle.area(10);
        System.out.println("半径为10的圆的面积是：" + area);
    }
}
